@charset "UTF-8";

$img: url(http://pic.lvmama.com/img/flight/international/index.png);
$img2x: url(http://pic.lvmama.com/img/flight/international/index@2x.png);
$backgroundSize: 400px;

body {
  min-width: 1200px;
}

@mixin etc() {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

//<editor-fold desc="公用">
input:focus {
  outline: none;
}

::-ms-clear {
  display: none;
}

::-ms-reveal {
  display: none;
}

::-moz-placeholder {
  color: #bbbbbb;
}

::-webkit-input-placeholder {
  color: #bbbbbb;
}

:-ms-input-placeholder {
  color: #bbbbbb;
}

.nova-radio {
  width: 14px;
  height: 14px;
  background-image: $img;
  background-position: -180px 0;
  &.nova-checked {
    background-position: -220px 0;
  }
}

.nova-radio-label {
  &:hover {
    .nova-radio {
      background-position: -200px 0;
    }
    .nova-radio.nova-checked {
      background-position: -220px 0;
    }
  }
}

.template {
  display: none;
}

//</editor-fold>

//<editor-fold desc="banner">
.if-banner {
  //width: 1200px;
  //width: 100%;
  margin-top: 40px;
  height: 370px;
  position: relative;

}

.if-banner-focus-wrap {

  position: relative;
  z-index: 1;
  height: 400px;
  overflow: hidden;
}

.if-banner-focus {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1920px;
  height: 370px;
  margin-left: -960px;
}

.if-banner-inner {

  position: absolute;
  left: 50%;
  margin-left: -600px;
  top: 20px;
  width: 380px;
  height: 360px;
  z-index: 1;

}

.if-bf-images {
  position: relative;
  li {
    -webkit-transition: opacity 800ms linear;
    transition: opacity 800ms linear;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0;
    opacity: 0;
    filter: alpha(opacity=0);

    &.active {
      opacity: 1;
      z-index: 1;
      filter: alpha(opacity=100);
    }
  }
  a {
    display: block;
    position: relative;
  }
  img {
    position: absolute;
    top: 0;
    left: 0;
  }
}

.if-bf-tabs {
  position: absolute;
  bottom: 12px;
  z-index: 1;
  width: 600-4px;
  left: 50%;
  padding-left: 4px;
  text-align: right;
  height: 16px;
  li {
    display: inline-block;
    background-color: #cccccc;
    //opacity: 0.3;
    //filter: alpha(opacity=30);
    width: 11px;
    height: 11px;
    margin: 5px;
    border-radius: 100%;
    *display: inline;
    *zoom: 1;
    &.active {
      background-color: #ee3388;
      //opacity: 1;
      //filter: alpha(opacity=100);

    }
  }
}

//</editor-fold>

//<editor-fold desc="全部">
.if-container {
  margin: 0 auto;
  width: 1200px;
}

.if-sidebar {
  float: left;
  width: 380px;
}

.if-main {
  margin-left: 20px;
  float: left;
  width: 800px;
  margin-top: 17px;
  h4 span {
    font-family: SimSun, sans-serif;
  }
}

.if-sidebar h4 {
  font-size: 18px;
  color: #333;
  font-weight: normal;
  margin-bottom: 8px;
}

.tool-box {
  border: 1px solid #ddd;
  border-right: none;
}

.tool-box a {
  float: left;
  display: block;
  width: 125px;
  height: 115px;
  text-align: center;
  border-right: 1px solid #ddd;
  font-size: 14px;
  color: #333;
}

.tool-box a:hover {
  color: #333;
  text-decoration: none;
}

.tool-box a:hover .tool-order {
  background-position: 0 -160px;
}

.tool-box a:hover .tool-ticket {
  background-position: -80px -160px;
}

.tool-box a:hover .tool-seat {
  background-position: -160px -160px;
}

.tool-box .tool-order,
.tool-box .tool-ticket,
.tool-box .tool-seat {
  display: inline-block;
  width: 65px;
  height: 65px;
  background-image: $img;
  margin: 16px 0 -1px;
}

.tool-box .tool-order {
  background-position: 0 -80px;
}

.tool-box .tool-ticket {
  background-position: -80px -80px;
}

.tool-box .tool-seat {
  background-position: -160px -80px;
}

.if-why,
.if-news,
.if-tool {
  margin-top: 16px;
}

.why-box {
  border: 1px solid #ddd;
  display: block;
  color: #999;
  padding-top: 13px;
  padding-left: 30px;
}

.why-box p {
  margin-bottom: 13px;
}

.why-box p span {
  display: block;
  float: left;
  margin-top: 1px;
}

.why-box .why-service,
.why-box .why-price {
  display: block;
  float: left;
  width: 39px;
  height: 38px;
  margin-right: 14px;
  background-image: $img;
}

.why-box .why-service {
  background-position: -80px -20px;
}

.why-box .why-price {
  background-position: -140px -20px;
}

.why-box em {
  display: block;
  margin-top: 1px;
  margin-bottom: -3px;
  font-size: 16px;
  color: #333;
}

.why-box:hover {
  border-color: #EE3388;
  color: #999;
  text-decoration: none;
}

.why-box:hover em {
  color: #333;
}

.news-box li {
  margin-bottom: 2px;
}

.news-box a {
  color: #999;
}

.news-box a:hover {
  color: #f60;
  text-decoration: none;
}

.news-box a.more-news {
  margin-left: 10px;
}

.news-box a.more-news i {
  font-family: "SimSun", sans-serif;
  margin-left: 2px;
}

.if-main h4 {
  font-size: 20px;
  color: #333;
  font-weight: normal;
}

.oneway-list {
  margin-top: 8px;
  width: 805px;
}

.oneway-list li {
  float: left;
  width: 130px;
  margin-right: 4px;
  overflow: hidden;
}

.oneway-list a {
  display: block;
  position: relative;
}

.oneway-list a img {
  display: block;
  width: 130px;
  height: 144px;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.oneway-list a:hover img {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

.oneway-list a:hover .oneway-overlay {
  background: rgba(0, 0, 0, 0.7);
}

.oneway-list .oneway-overlay {
  position: absolute;
  left: 22px;
  top: 39px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  filter: progid:DXImageTransform.Microsoft.Gradient(startColorstr="#7F000000", endColorstr="#7F000000");
  width: 86px;
  height: 65px;
  padding-top: 21px;
  color: #fff;
  font-size: 18px;
  text-align: center;
}

.oneway-list .oneway-overlay span.price {
  display: block;
  border-top: 1px solid rgba(204, 204, 204, 0.35);
  color: #f90;
  margin-top: 7px;
  padding-top: 4px;
  width: 66px;
  margin-left: 10px;
}

.oneway-list .oneway-overlay span.price i {
  font-size: 16px;
}

.if-return {
  margin-top: 30px;
}

.return-box {
  background: #f5f5f5;
  padding: 10px 0 10px 10px;
  margin-top: 9px;
}

.return-depa {
  float: left;
  position: relative;
  width: 124px;
  height: 26px;
  border: 1px solid #cccccc;
  border-radius: 13px;
  font-size: 14px;
  color: #333;
  line-height: 26px;
  background: #fff;
  cursor: pointer;
  z-index: 2;
}

.return-depa i {
  position: absolute;
  display: block;
  background-image: $img;
}

.return-depa .depa-icon {
  width: 13px;
  height: 16px;
  background-position: -60px 0;
  left: 8px;
  top: 6px;
}

.return-depa .depa-arrow {
  width: 12px;
  height: 8px;
  background-position: -80px 0;
  right: 8px;
  top: 10px;
}

.return-depa .depa-city {
  display: inline-block;
  margin-left: 24px;
  width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.return-depa .depa-list {
  display: none;
  position: absolute;
  top: 26px;
  left: -1px;
  border: 1px solid #ccc;
  border-top: none;
  border-radius: 0 0 13px 13px;
  width: 124px;
  padding-bottom: 10px;
  background: #fff;
}

.return-depa .depa-list li {
  height: 28px;
  text-align: center;
  font-size: 14px;
  color: #333;
  line-height: 28px;
}

.return-depa .depa-list li:hover {
  background: #fff1f9;
  color: #ff0089;
}

.return-depa .depa-list li.active {
  color: #ff0089;
}

.return-depa-open {
  border-radius: 13px 13px 0 0;
}

.return-depa-open .depa-list {
  display: block;
}

.return-depa-open .depa-arrow {
  background-position: -80px -10px;
}

.return-tab {
  float: left;
  width: 630px;
  margin-left: 30px;
  margin-top: 3px;
  font-size: 0;
}

.return-tab li {
  cursor: pointer;
  display: inline-block;
  padding: 0 12px;
  font-size: 14px;
  color: #666;
  line-height: 20px;
  border: 1px solid #f5f5f5;
  border-radius: 11px;
  margin-right: 2px;
  float: left;
}

.return-tab li:hover {
  border-color: #ee3388;
  color: #ee3388;
}

.return-tab li.active {
  border-color: #ee3388;
  background: #ee3388;
  color: #fff;
}

.return-product a {
  display: block;
  float: left;
  width: 185px;
  height: 123px;
  margin: 10px 10px 0 0;
  border: 1px solid #ddd;
  background: #fff;
  color: #999;
  text-align: center;
  position: relative;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.return-product a:hover {
  text-decoration: none;
  -webkit-transform: translateY(-5px);
  transform: translateY(-5px);
}

.return-product .rp-city {
  margin-top: 12px;
  font-size: 16px;
  color: #333;
  height: 22px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.return-product .rp-city .return-icon {
  display: inline-block;
  background-image: $img;
  width: 12px;
  height: 11px;
  background-position: -120px 0;
  margin: 0 4px;
}

.return-product .rp-city .transfer {
  position: relative;
}

.return-product .rp-city .transfer em {
  height: 14px;
  font-size: 12px;
  color: #999;
  line-height: 14px;
  border: 1px solid #ddd;
  border-radius: 7px;
  padding: 0 3px;
  margin: 0 6px 0 7px;
  background: #fff;
  position: relative;
  z-index: 1;
  vertical-align: 1px;
}

.return-product .rp-city .transfer i {
  display: block;
  width: 38px;
  height: 1px;
  position: absolute;
  left: 4px;
  top: 8px;
  background-color: #ccc;
}

.return-product .rp-date {
  display: block;
  margin-top: 1px;
  margin-bottom: 1px;
}

.return-product .rp-airline {
  display: block;
  color: #666;
  img {
    width: 14px;
    height: 12px;
    vertical-align: -1px;
    margin-right: 3px;
  }
}

.return-product .rp-price-box {
  padding-top: 6px;
  margin-top: 6px;
  border-top: 1px dashed #ddd;
  color: #666;
}

.return-product .rp-price {
  margin-left: 5px;
  color: #f60;
  vertical-align: -1px;
}

.return-product .rp-price em {
  font-size: 22px;
  font-weight: bold;
  margin-left: 2px;
}

.return-product .rp-price i {
  font-size: 16px;
}

.return-product .left-circle,
.return-product .right-circle {
  position: absolute;
  top: 79px;
  display: block;
  width: 8px;
  height: 16px;
  background-image: $img;
}

.return-product .left-circle {
  left: -1px;
  background-position: -320px -20px;
}

.return-product .right-circle {
  right: -1px;
  background-position: -340px -20px;
}

.if-hot {
  margin: 40px auto 30px;
  width: 1200px;
}

.if-hot h4 {
  font-size: 20px;
  color: #333;
  font-weight: normal;
}

.hot-box {
  margin-top: 10px;
  border: 1px solid #ddd;
  border-top: none;
}

.hot-tab-list {
  position: relative;
  float: left;
  width: 1104px;
  height: 56px;
  overflow: hidden;
  margin-right: -1px;
}

.hot-tab-list ul {
  width: 12345px;
  position: absolute;
  left: 0;
  top: 0;
}

.hot-tab-list li {
  float: left;
  width: 91px;
  height: 55px;
  border: 1px solid #ddd;
  margin-left: -1px;
  border-top: none;
  cursor: pointer;
}

.hot-tab-list li img {
  margin-top: 8px;
  margin-left: 9px;
}

.hot-tab-list li i {
  display: block;
  height: 1px;
  width: 91px;
  background: #ddd;
}

.hot-tab-list li.active {
  height: 56px;
}

.hot-tab-list li.active i {
  position: relative;
  margin-left: -1px;
  width: 93px;
  height: 4px;
  background: #ee3388;
}

.hot-tab-list li.active img {
  margin-top: 5px;
}

.hot-prev-btn {
  float: left;
  display: block;
  width: 46px;
  height: 54px;
  border: 1px solid #ddd;
  margin-left: -1px;
  &:hover {
    i {
      background-position: -240px -60px;
    }
  }
}

.hot-prev-btn i {
  display: block;
  width: 13px;
  height: 22px;
  margin: 16px 0 0 16px;
  background: $img -280px -20px;
}

.hot-prev-btn.disabled i {
  background-position: -240px -20px;
}

.hot-next-btn {
  float: right;
  display: block;
  width: 47px;
  height: 54px;
  border: 1px solid #ddd;
  margin-right: -1px;
  &:hover {
    i {
      background-position: -260px -60px;
    }
  }
}

.hot-next-btn i {
  display: block;
  width: 13px;
  height: 22px;
  margin: 16px 0 0 16px;
  background: $img -300px -20px;
}

.hot-next-btn.disabled i {
  background-position: -260px -20px;
}

.hot-prev-btn.disabled,
.hot-next-btn.disabled {
  cursor: default;
}

.hot-content {
  padding: 17px 30px;
}

.hot-content li {
  display: none;
}

.hot-logo {
  padding: 10px;
  border: 1px solid #ddd;
  float: left;
  width: 144px;
  height: 80px;
}

.hot-desc {
  float: left;
  width: 952px;
  margin-left: 20px;
}

.hot-title {
  margin-top: 14px;
  font-size: 18px;
  color: #333;
}

.hot-detail {
  margin-top: 9px;
  font-size: 14px;
  color: #666;
}

//</editor-fold>

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {
  /* 当设备像素比不小于1.5的时候... */

  .nova-radio {
    background-image: $img2x;
    background-size: $backgroundSize;
  }

  .nova-select-toggle {
    b {
      background-image: $img2x;
      background-size: $backgroundSize;
    }
  }
  .ifs-pre-order {
    i, b {
      background-image: $img2x;
      background-size: $backgroundSize;
    }
  }

  .ifs-pic {
    background-image: $img2x;
    background-size: $backgroundSize;
  }
  .ifs-sc-tab {
    i {
      background-image: $img2x;
      background-size: $backgroundSize;
    }
  }
  .ifs-sc-close {
    i {
      background-image: $img2x;
      background-size: $backgroundSize;
    }
  }
  .item-plane {
    i {
      background-image: $img2x;
      background-size: $backgroundSize;
    }
  }
  .ifs-error-tip-triangle {
    background-image: $img2x;
    background-size: $backgroundSize;
  }
  .tool-box .tool-order,
  .tool-box .tool-ticket,
  .tool-box .tool-seat {
    background-image: $img2x;
    background-size: $backgroundSize;
  }
  .why-box .why-service,
  .why-box .why-price {
    background-image: $img2x;
    background-size: $backgroundSize;
  }
  .return-depa i {
    background-image: $img2x;
    background-size: $backgroundSize;
  }
  .return-product .rp-city .return-icon {
    background-image: $img2x;
    background-size: $backgroundSize;
  }
  .return-product .left-circle,
  .return-product .right-circle {
    background-image: $img2x;
    background-size: $backgroundSize;
  }
  .hot-prev-btn i {
    background-image: $img2x;
    background-size: $backgroundSize;
  }
  .hot-next-btn i {
    background-image: $img2x;
    background-size: $backgroundSize;
  }
}

.return-loading {
  display: none;
  height: 405px;
  background: url(http://pic.lvmama.com/img/new_v/ui_scrollLoading/loadingGIF64px.gif) no-repeat center center;
}
